import Vue from 'vue'
import 'view-design/dist/styles/iview.css'
import { 
    Input,          Button,         Card, 
    Carousel,       CarouselItem,   Divider, 
    Checkbox,       DatePicker,     Modal, 
    InputNumber,    Switch,         Affix, 
    RadioGroup,     Radio,          Upload, 
    Icon,           Poptip,         Progress,
    Scroll,         Select,         Option
 } from 'view-design'

Vue.component('Input', Input)
Vue.component('Button', Button)
Vue.component('Card', Card)
Vue.component('Carousel', Carousel)
Vue.component('CarouselItem', CarouselItem)
Vue.component('Divider', Divider)
Vue.component('CheckBox', Checkbox)
Vue.component('DatePicker', DatePicker)
Vue.component('Modal', Modal)
Vue.component('InputNumber', InputNumber)
Vue.component('ISwitch', Switch)
Vue.component('Affix', Affix)
Vue.component('RadioGroup', RadioGroup)
Vue.component('Radio', Radio)
Vue.component('Upload', Upload)
Vue.component('Icon', Icon)
Vue.component('Poptip', Poptip)
Vue.component('Progress', Progress)
Vue.component('Scroll', Scroll)
Vue.component('Select', Select)
Vue.component('Option', Option)